#ifndef __IS_TESTBED_GLVISUALIZER__
#define __IS_TESTBED_GLVISUALIZER__

namespace IS
{

class GlVisualizer
{
public:
	static void drawPoint(const Vec3f& p, float s)
	{
		glVertex3f(p.x + s, p.y + 0, p.z + 0);
		glVertex3f(p.x - s, p.y - 0, p.z - 0);

		glVertex3f(p.x + 0, p.y + s, p.z + 0);
		glVertex3f(p.x - 0, p.y - s, p.z - 0);

		glVertex3f(p.x + 0, p.y + 0, p.z + s);
		glVertex3f(p.x - 0, p.y - 0, p.z - s);
	}

	static void drawLine(const Vec3f& a, const Vec3f& b)
	{
		glVertex3fv(a.data);
		glVertex3fv(b.data);
	}

};	// class GlVisualizer

}	// namespace IS

#endif	// __IS_TESTBED_GLVISUALIZER__